﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="EditProduct.ascx.cs" Inherits="EditProduct" %>
<%@ OutputCache Duration="3600" VaryByParam="None" %>
<div id="editTable" runat="server">
    <table>
        <tr>
            <td colspan="2">
                <h2>Edit</h2>
            </td>
        </tr>
        <tr>
            <td class="style1">
                <asp:Label ID="Label3" runat="server" Text="ProductID"></asp:Label>
            </td>
            <td>
                <asp:TextBox ID="productIDTextBox" runat="server" ReadOnly="True"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td class="style1">
                <asp:Label ID="Label1" runat="server" Text="ProductName"></asp:Label>
            </td>
            <td>
                <asp:TextBox ID="productNameTextBox" runat="server"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td class="style1">
                <asp:Label ID="Label2" runat="server" Text="CategoryName"></asp:Label>
            </td>
            <td>
                <asp:DropDownList ID="categoryDropList" runat="server" Width="200px">
                </asp:DropDownList>
            </td>
        </tr>
        <tr>
            <td class="style1">
                <asp:Label ID="Label4" runat="server" Text="QuantityPerUnit"></asp:Label>
            </td>
            <td>
                <asp:TextBox ID="quantityPerUnitTextBox" runat="server"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td class="style1">
                <asp:Label ID="Label5" runat="server" Text="UnitPrice"></asp:Label>
            </td>
            <td>
                <asp:TextBox ID="unitPriceTextBox" runat="server"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td>
            </td>
            <td>
                <asp:Button ID="updateButton" runat="server" Text="Update" OnClick="updateButton_Click" />
            </td>
        </tr>
        <tr>
            <td>
            </td>
            <td>
                <asp:Label ID="thongBaoLabel" runat="server" Text=""></asp:Label>
            </td>
        </tr>
    </table>
</div>
